import * as React from 'react';
import {useSelector} from "react-redux";
import {selectLoginSucInfo} from '@/config/store/module/GlobalSlice'
import {Button} from "antd";

interface Props {
    name: string
}

const App: React.FC<Props> = () => {
    const map = new Map<String, String>();
    map.set('aa', 'az')
    map.set('bb', 'bz')
    console.log(map)
    const count = useSelector(selectLoginSucInfo);
    console.log('count', count)
    return <div className={'container'}>
        <p>hello</p>
        <Button type={'primary'}>按钮</Button>
    </div>
}

export default App;
